package com.zuipin.entity;

import io.swagger.annotations.ApiModel;

@ApiModel(description = "后台用户")
public class SysUser extends BaseEntity {
	private String				account;											// 登陆账号(用户名)
	private String				password;											// 登陆密码
	private String				realName;											// 真实姓名
	private String				phone;												// 手机号码
	private String				email;												// 电子邮箱
	private String				addr;												// 联系地址
	private String				gender;												// 性别 （男、女）
	private Integer				loginNum				= 0;						// 登陆次数
	private Short				status					= 0;						// 是否已激活 （0已激活、1已冻结）
	private Boolean				delFlag;
	private String				remark;												// 备注
	
	private String				roles;
	
	public static final Long	QUARTZ					= -1L;						// 定时器
	public static final Long	SYS_USER				= -1l;						// 系统用户
	public static final String	DEFAULT_PASSWORD		= "Aa123456";				// 默认密码
	public static final Short	ENABLE					= 1;
	public static final Short	DISABLE					= 2;
	public final static String	UQ_ACCOUNT_INDEX_KEY	= "UQ_USER_ACCOUNT_INDEX";	// 帐号唯一索引
	public static final Long	SA						= 1l;						//
	
	public String getAccount() {
		return account;
	}
	
	public void setAccount(String account) {
		this.account = account;
	}
	
	public String getPassword() {
		return password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getRealName() {
		return realName;
	}
	
	public void setRealName(String realName) {
		this.realName = realName;
	}
	
	public String getPhone() {
		return phone;
	}
	
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	public String getEmail() {
		return email;
	}
	
	public void setEmail(String email) {
		this.email = email;
	}
	
	public String getAddr() {
		return addr;
	}
	
	public void setAddr(String addr) {
		this.addr = addr;
	}
	
	public String getGender() {
		return gender;
	}
	
	public void setGender(String gender) {
		this.gender = gender;
	}
	
	public Integer getLoginNum() {
		return loginNum;
	}
	
	public void setLoginNum(Integer loginNum) {
		this.loginNum = loginNum;
	}
	
	public Short getStatus() {
		return status;
	}
	
	public void setStatus(Short status) {
		this.status = status;
	}
	
	public Boolean getDelFlag() {
		return delFlag;
	}
	
	public void setDelFlag(Boolean delFlag) {
		this.delFlag = delFlag;
	}
	
	public String getRemark() {
		return remark;
	}
	
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public String getRoles() {
		return roles;
	}
	
	public void setRoles(String roles) {
		this.roles = roles;
	}
	
}
